package org.opencare.ndwc.persistence;

import java.util.List;

import org.opencare.ndwc.model.EventType;
import org.springframework.dao.DataAccessException;

public interface EventTypeDao {
	
    public EventType find(Long id) throws DataAccessException;
	
	public List<EventType> findAll() throws DataAccessException;

	public EventType findEventTypeByTypeName(String typeName) throws DataAccessException;
	
    public void save(EventType eventType) throws DataAccessException;

    public void remove(Long id) throws DataAccessException;
    
    public void removeAll() throws DataAccessException;
    
    public Long countEventType() throws DataAccessException;
}
